package com.fitsoftwareprocess.mobimap.dto;

import java.util.ArrayList;

public class StreetInfo {
	private int _id;
    private NodeInfo _startPoint;
    private NodeInfo _endPoint;
    private Boolean _twoWay;
    private int _state;
    private String _fullname;
    private String _tag;
    private String _keyword;
    private String _ward;
    private String _city;
    private int _direction;
    private String _district;
    private ArrayList<SegmentInfo> _lstSegments;

    public StreetInfo()
    { }

    
    public Boolean Equals(Object obj)
    {
        StreetInfo street = (StreetInfo)obj;
        return street.get_id() == this.get_id();
    }

    //#region IComparer<StreetInfo> Members

    public int Compare(StreetInfo x, StreetInfo y)
    {
        if (x.get_id() == y.get_id())
            return 0;
        return 1;
    }


	public int get_id() {
		return _id;
	}


	public void set_id(int _id) {
		this._id = _id;
	}


	public NodeInfo get_startPoint() {
		return _startPoint;
	}


	public void set_startPoint(NodeInfo _startPoint) {
		this._startPoint = _startPoint;
	}


	public NodeInfo get_endPoint() {
		return _endPoint;
	}


	public void set_endPoint(NodeInfo _endPoint) {
		this._endPoint = _endPoint;
	}


	public Boolean get_twoWay() {
		return _twoWay;
	}


	public void set_twoWay(Boolean _twoWay) {
		this._twoWay = _twoWay;
	}


	public int get_state() {
		return _state;
	}


	public void set_state(int _state) {
		this._state = _state;
	}


	public String get_fullname() {
		return _fullname;
	}


	public void set_fullname(String _fullname) {
		this._fullname = _fullname;
	}


	public String get_tag() {
		return _tag;
	}


	public void set_tag(String _tag) {
		this._tag = _tag;
	}


	public String get_keyword() {
		return _keyword;
	}


	public void set_keyword(String _keyword) {
		this._keyword = _keyword;
	}


	public String get_ward() {
		return _ward;
	}


	public void set_ward(String _ward) {
		this._ward = _ward;
	}


	public String get_city() {
		return _city;
	}


	public void set_city(String _city) {
		this._city = _city;
	}


	public int get_direction() {
		return _direction;
	}


	public void set_direction(int _direction) {
		this._direction = _direction;
	}


	public String get_district() {
		return _district;
	}


	public void set_district(String _district) {
		this._district = _district;
	}


	public ArrayList<SegmentInfo> get_lstSegments() {
		return _lstSegments;
	}


	public void set_lstSegments(ArrayList<SegmentInfo> _lstSegments) {
		this._lstSegments = _lstSegments;
	}

    //#endregion
}

